| Total Complexity | 41 |
| Dependencies | 1 |
| Dependents | 1 |
| Total lines | 360 |
| Lines of code | 230 |
| Logical lines of code | 93 |
| Comment lines | 88 |
| Methods | 11 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| add_mini_cart() | 47 | 9 | 40 | |
| wpc_update_cart_quantity() | 47 | 8 | 33 | |
| handle_mini_cart_buttons_before() | 48 | 7 | 45 | |
| wpc_remove_cart_item() | 53 | 4 | 22 | |
| before_minicart_buttons_add_extra_content() | 53 | 2 | 29 | |
| __construct() | 55 | 2 | 18 | |
| add_inline_script() | 66 | 3 | 9 | |
| wpc_add_to_cart_content_fragment_refresh() | 61 | 2 | 14 | |
| enqueue_mini_cart_scripts() | 67 | 2 | 7 | |
| mini_cart_add_class() | 77 | 1 | 3 | |
| wpc_add_to_cart_count_fragment_refresh() | 65 | 1 | 10 |